} else {
synchronized(this) {
if(state != State.WRITE && list.size() == 0 &&
activeR < ctx.prop.num(Prop.PARALLEL)) {
state = State.READ;
++activeR;
return;
}
} else {
synchronized(this) {
final int p = Math.max(ctx.prop.num(Prop.PARALLEL), 1);
if(state != State.WRITE && list.size() == 0 &&
activeR < p) {
state = State.READ;
++activeR;
return;